import java.util.LinkedList;

public class Problem {

	LinkedList<String> operators = new LinkedList<String>();
	State initialState;
	StateSpace stateSpace;
	boolean goalTest;
	int pathCost;

	public Problem(LinkedList<String> operators, State initialState,
			boolean goalTest, int pathCost) {
		super();
		this.operators = operators;
		this.initialState = initialState;
		this.goalTest = goalTest;
		this.pathCost = pathCost;
		this.stateSpace = new StateSpace(operators, initialState);
	}

	public LinkedList<String> getOperators() {
		return operators;
	}

	public void setOperators(LinkedList<String> operators) {
		this.operators = operators;
	}

	public State getInitialState() {
		return initialState;
	}

	public void setInitialState(State initialState) {
		this.initialState = initialState;
	}

	public boolean getGoalTest() {
		return goalTest;
	}

	public void setGoalTest(boolean goalTest) {
		this.goalTest = goalTest;
	}

	public int getPathCost() {
		return pathCost;
	}

	public void setPathCost(int pathCost) {
		this.pathCost = pathCost;
	}

}
